<extend name="Layout/application"/>

<block name="content">
    <div class="row">
        <div class="col-md-12">

            <div class="row">
                <div class="col-md-8">
                    <div class="page-header">
                        <h1>系统首页</h1>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-10">
                    <div class="panel panel-default">
                        <div class="panel-heading">系统信息</div>

                        <div class="panel-body">
                            <div class="col-md-6">
                                <table class="table">
                                    <caption>系统信息</caption>
                                    <thead>
                                    <tr>
                                        <th>CMS版本</th>
                                        <td>{{$server_info.version}}</td>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <tr>
                                        <th>操作系统</th>
                                        <td>{{$server_info.os}}</td>
                                    </tr>
                                    <tr>
                                        <th>运行环境</th>
                                        <td>{{$server_info.server_software}}</td>
                                    </tr>
                                    <tr>
                                        <th>PHP运行方式</th>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <th>MYSQL版本</th>
                                        <td>{{$server_info.mysql}}</td>
                                    </tr>
                                    <tr>
                                        <th>上传限制</th>
                                        <td>{{$server_info.upload}}</td>
                                    </tr>
                                    <tr>
                                        <th>核心版本</th>
                                        <td>{{$server_info.core}}</td>
                                    </tr>
                                    <tr>
                                        <th>已用空间</th>
                                        <td>
                                            <div class="progress">
                                                <div class="progress-bar" role="progressbar" aria-valuenow="60"
                                                     aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
                                                    {{$server_info.already_used_percent}}
                                                </div>
                                            </div>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>

                            <div class="col-md-6">
                                <table class="table">
                                    <caption>用户信息</caption>
                                    <thead>
                                    <tr>
                                        <th>姓名</th>
                                        <td>{{$user_info.owner}}</td>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <tr>
                                        <th>网站名称</th>
                                        <td>{{$user_info.netname}}</td>
                                    </tr>
                                    <tr>
                                        <th>ICP备案号</th>
                                        <td>{{$user_info.icpno}}</td>
                                    </tr>
                                    <tr>
                                        <th>QQ:</th>
                                        <td>{{$user_info.qq}}</td>
                                    </tr>
                                    <tr>
                                        <th>新浪微博</th>
                                        <td>{{$user_info.weibo}}</td>
                                    </tr>
                                    <tr>
                                        <th>E-mail</th>
                                        <td>{{$user_info.email}}</td>
                                    </tr>
                                    <tr>
                                        <th>介绍信息</th>
                                        <td>{{$user_info.keywords}}</td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>

                        </div>
                    </div>
                </div>


                <div class="col-md-2">
                    <div class="list-group">
                        <a href="javascript: void 0;" class="list-group-item list-group-item-info sort_category">
                            <span class="glyphicon glyphicon-plus" aria-hidden="true"></span> 新增 (add)
                        </a>

                        <a href="javascript: void 0;" class="list-group-item list-group-item-info sort_category">
                            <span class="glyphicon glyphicon-refresh" aria-hidden="true"></span> 排序 (sort)
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</block>